<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ include file="/common/taglibs.jsp"%>
<style type="text/css">
.selectWidth2 {
	width: 152px;
}

.selectWidth2 {
	width: 185px;
}
</style>
<x:parse xml="${param.xmlstr}" var="xmlData" />
<table class="t_css" width="100%" border="0" cellpadding="0"
	id="basicInfo" cellspacing="1">
	<tr>
		<td colspan="6" class="t_bar">&nbsp;项目基本信息</td>
	</tr>
	<tr>
		<td nowrap width="111" align="right"><span class="color_red">*</span>重点实验室名称：</td>
		<td nowrap colspan="7"><input id="zh_title"
			name="proposal/zh_title" label="重点实验室名称" type="text"
			class="input_css required maxlength:50" style="width: 715px;"
			maxlength="50"
			value="<x:out select="$xmlData/data/proposal/zh_title" />" /></td>
	</tr>
	<tr>
	    <td width="100px" align="right">单位名称：</td>
									
		<td >&nbsp;
			<input type="hidden" name="organizations/organization[0]@submit_org" value="1" > 
			<input type="hidden" name="organizations/organization[0]@sequence_no" value="1" >
			<input type="hidden" name="organizations/organization[0]/org_code" 
				value="<x:out select="$xmlData/data/organizations/organization[@submit_org=1]/org_code"/>" >
			<span name="organizations/organization[0]/cname">
				<x:out select="$xmlData/data/organizations/organization[@submit_org=1]/org_name"/>
			</span>
		</td>
		<td nowrap align="right"><span class="color_red">*</span>申报日期：</td>
		<td nowrap colspan="3"><c:set var="submit_date">
				<x:out select="$xmlData/data/proposal/submit_date" />
			</c:set> <cpt:date id="submit_date" name="proposal/submit_date"
				value="${submit_date}" size="27" className="required date"
				label="申报日期"></cpt:date>
		</td>
	</tr>
	
	<tr>
		<td align="right">单位联系人：</td>
		<td>&nbsp; 
		     <span name="proposal/contact_name">
		         <x:out select="$xmlData/data/organization_persons/organization_person[@psn_type='lianxiren']/contact_name" />
		     </span>
		</td>
		<td align="right">联系电话：</td>
		<td colspan="3">&nbsp; 
		    <span name="proposal/contact_tel"><x:out
					select="$xmlData/data/organization_persons/organization_person[@psn_type='lianxiren']/contact_tel" />
		    </span>
		</td>
	</tr>
	
	<tr>
		<td nowrap align="right"><span class="color_red">*</span>实验室主任：</td>
		<td nowrap colspan="1"><input id="zhuren_psn_cname"
			name="proposal/zhuren_psn_cname" label="实验室主任" type="text" required
			class="input_css required maxlength:50" style="width: 100px;"
			maxlength="50"
			value="<x:out select="$xmlData/data/proposal/zhuren_psn_cname" />" />
		</td>
		<td nowrap align="right"><span class="color_red">*</span>联系电话：</td>
		<td nowrap colspan="3"><input id="zhuren_psn_tel"
			name="proposal/zhuren_psn_tel" label="实验室主任联系电话" type="text" required
			class="input_css required maxlength:50" style="width: 140px;"
			maxlength="50"
			value="<x:out select="$xmlData/data/proposal/zhuren_psn_tel" />" />
		</td>
	</tr>
	
	<tr>
		<td nowrap align="right"><span class="color_red">*</span>实验室现有人员总数：</td>
		<td nowrap colspan="1"><input id="lab_total"
			name="proposal/lab_total" label="实验室现有人员总数" type="text" required
			class="input_css required maxlength:50 valueCompare:lab_high:lab_total" style="width: 100px;text-align:right;" onfocus="InitInput.setNumber(this,7,0,0)" 
			maxlength="50"
			value="<x:out select="$xmlData/data/proposal/lab_total" />" />人
		</td>
		<td nowrap align="right"><span class="color_red">*</span>其中：高级职称：</td>
		<td nowrap><input id="lab_high"
			name="proposal/lab_high" label="实验室现有人员中高级职称人数" type="text" required
			class="input_css required maxlength:50" style="width: 140px;text-align:right;" onfocus="InitInput.setNumber(this,7,0,0)" 
			maxlength="50"
			value="<x:out select="$xmlData/data/proposal/lab_high" />" />人
		</td>
		<td nowrap align="right"><span class="lab_red">*</span>博士：</td>
		<td nowrap><input id="lab_dr"
			name="proposal/lab_dr" label="博士人数" type="text" required
			class="input_css required maxlength:13 valueCompare:lab_dr:lab_total" style="width: 140px;text-align:right;" onfocus="InitInput.setNumber(this,7,0,0)" 
			maxlength="11"
			value="<x:out select="$xmlData/data/proposal/lab_dr" />" />人
		</td>
	</tr>
	
	<tr>
		<td nowrap align="right"><span class="color_red">*</span>实验室现有固定资产总数：</td>
		<td nowrap colspan="1"><input id="lab_property_total"
			name="proposal/lab_property_total" label="实验室现有固定资产总数" type="text" required
			class="input_css required maxlength:50 valueCompare:lab_property_equipment:lab_property_total" style="width: 100px;text-align:right;" onfocus="InitInput.setNumber(this,7,2,2)" 
			maxlength="50"
			value="<x:out select="$xmlData/data/proposal/lab_property_total" />" />万元
		</td>
		<td nowrap align="right"><span class="color_red">*</span>其中：仪器设备总值：</td>
		<td nowrap colspan="3"><input id="lab_property_equipment"
			name="proposal/lab_property_equipment" label="实验室现有固定资产总数中的仪器设备总值" type="text" required
			class="input_css required maxlength:50" style="width: 140px;text-align:right;" onfocus="InitInput.setNumber(this,7,2,2)" 
			maxlength="50"
			value="<x:out select="$xmlData/data/proposal/lab_property_equipment" />" />万元
		</td>	
	</tr>
	
	<tr>
		<td nowrap align="right"><span class="color_red">*</span>设备购置总预算：</td>
		<td nowrap colspan="1"><input id="budget_total"
			name="proposal/budget_total" label="设备购置总预算" type="text" required
			class="input_css required maxlength:50 valueCompare:budget_amt:budget_total" style="width: 100px;text-align:right;" onfocus="InitInput.setNumber(this,7,2,2)" 
			maxlength="50"
			value="<x:out select="$xmlData/data/proposal/budget_total" />" />万元
		</td>
		<td nowrap align="right"><span class="color_red">*</span>其中：申请专项资金：</td>
		<td nowrap colspan="3"><input id="budget_amt"
			name="proposal/budget_amt" label="设备购置总预算中的申请专项资金" type="text" required
			class="input_css required maxlength:50" style="width: 140px;text-align:right;" onfocus="InitInput.setNumber(this,7,2,2)" 
			maxlength="50"
			value="<x:out select="$xmlData/data/proposal/budget_amt" />" />万元
		</td>
		
	</tr>
</table>

<script type="text/javascript">
	$(function() {
		$("#impl_area,#register_area").css("float", "left");
		$("#subject1,#subject2").css("float", "left").focus(function() {
			subjectControl(this);
		});
		$("#basicInfo tr:visible:even").addClass("li_1");
		$("#basicInfo tr:visible:odd").addClass("li_2");
	});

	
</script>